import Vue from 'vue'
import Vuex, { StoreOptions } from 'vuex'
import { moduleFiles } from '@/stores/moduleFiles';
import { moduleSearchFiles } from '@/stores/moduleSearchFiles';
import { moduleAuth } from '@/stores/moduleAuth';

Vue.use(Vuex)

export default new Vuex.Store(<StoreOptions<any>>{
    modules: {
        auth: moduleAuth,
        files: moduleFiles,
        searchFiles: moduleSearchFiles
    }
})
